const app = getApp()

Page({
  data: {
    imgUrls:[
      'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1540543695728&di=ffb7a1e4da2db9e1b2fdd2df1edb1435&imgtype=0&src=http%3A%2F%2Fspider.nosdn.127.net%2Fd29c659fe56cb651eb57863982a3082d.gif',
      'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1540543378954&di=274361e5f083270047eb2983f832d583&imgtype=0&src=http%3A%2F%2Fimgsrc.baidu.com%2Fimage%2Fc0%253Dpixel_huitu%252C0%252C0%252C294%252C40%2Fsign%3Ddc32d97e3212b31bd361c569ef605316%2F562c11dfa9ec8a13cc9812d9fc03918fa0ecc00d.jpg',
      'http://img.mp.itc.cn/upload/20160826/2de73e77a23146e7a641a5edec1499e5_th.jpeg',
    ],
    items: [{
      title: '填写计划',
      url: './../plans/plans',
      img: '../../images/plan.png',
    },
    {
      title: '审批计划',
      url: './../plan_approval/plan_approval',
      img: '../../images/plan_check.png',
    },
    {
      title: '巡查任务',
      url: './../patrols/patrols',
      img: '../../images/xiaoqu.png',
    },
    {
      title: '问题上报',
      url: './../issue_list/issue_list?reportShow=true',
      img: '../../images/issue_report.png',
    },
    {
      title: '问题处理',
      url: './../issue_deal/issue_deal',
      img: '../../images/issue_deal.png',
    },
    {
      title: '问题审核',
      url: './../issue_auditing/issue_auditing',
      img: '../../images/approval.png',
    }
    ],
    currentNum: '0',
    nva_items: [{
      title: '首页',
      img: '../../images/home1.png',
      selectedImg: '../../images/home2.png',
    },
    {
      title: '关于',
      img: '../../images/me1.png',
      selectedImg: '../../images/me2.png',
    }
    ],
    about: [
      '版本号：1.1', '更新时间2018.10.23'
    ]
  },
  //切换tab导航
  fnNvaTap: function (e) {
    this.setData({
      currentNum: e.currentTarget.dataset.index,
    })
  },


})